package ui.activity.profit.module;


import dagger.Module;
import dagger.Provides;
import ui.activity.profit.biz.TradeRecordBiz;
import ui.activity.profit.contract.TradeRecordContract;

/**
 * Created by chenjian on 19/2/26
 */
@Module
public class TradeRecordModule {
    private TradeRecordContract.View view;

    public TradeRecordModule(TradeRecordContract.View view) {
        this.view = view;
    }

    @Provides
    public TradeRecordContract.View provideView() {
        return view;
    }

    @Provides
    public TradeRecordBiz provideBiz() {
        return new TradeRecordBiz();
    }
}